/*
 * GenericConnection.h
 *
 *  Created on: Mar 2, 2011
 *      Author: soapy
 */

#ifndef GENERICCONNECTION_H_
#define GENERICCONNECTION_H_
#endif /* GENERICCONNECTION_H_ */

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include "structs.h"
#include "utility.h"

int SetupTCPClientSocket(const char *host, const char *service);
int SetupTCPServerSocket(const char *service);
int AcceptTCPConnection(int servSock);
